<include file="public/header"/>

<body>

<!--main-->
<div class="pPersonal-warp" style="padding-bottom:20px;">
  <div class="my-balance-money">
    <h4 class="tit"><i class="iconfont">&#xe78a;</i>我的余额</h4>
    <div class="price">
      {$balance}
    </div>
  </div>
  <ul class="my-balance-cons">

    <volist name="list" id="list">
    <li>
      <div class="li-top clearfix">
        <span class="cn fl">
          <if condition="$list.type eq 1">消费</if>
          <if condition="$list.type eq 2">充值</if>
        </span>
        <span <if condition="$list.type eq 2">class="c-orange fr"</if> <if condition="$list.type eq 1">class="c-green fr"</if>><if condition="$list.type eq 1">-<else/>+</if>{$list.amount}</span>
      </div>
      <div class="li-btm clearfix">
        <span class="cn fl">{$list.remark}</span> <span class="date fr">{:date('Y-m-d H:i',$list.add_time)}</span>
      </div>
    </li>
    </volist>
  </ul>
</div>

<div class="pdata-column-save">
  <a href="{:U('User/center')}" class="s-btn" style="margin-top: 10px;background: #fe7200">返回个人中心</a>
</div>
<!--main End-->

</body>
</html>
